#ifndef __BLACK_CAPSULE_H__
#define __BLACK_CAPSULE_H__

#include "maths/default.h"

namespace black
{
	class capsule
	{
	public:
		bFORCEINLINE capsule	();
		bFORCEINLINE capsule	( const vec3& vPoint1, const vec3& vPoint2, float fRadius );

		bFORCEINLINE bool	isValid		() const;

		vec3	p1;
		vec3	p2;
		float	radius;
	};

	class capsule_128
	{
		vec3_128	p1;
		vec3_128	p2;
		float		radius;
	};
}

#include "maths/inl/capsule.inl"

#endif // __BLACK_CAPSULE_H__
//---------------------------------------------------------------------------------------
// Copyright (c) 2009 Jounayd Id Salah.
// All rights reserved.
//---------------------------------------------------------------------------------------

